Repository navigation
feat: move llvm-cov into packages/llvm-cov - #9
Merged
Merged
Conversation
Repackage the llvm-cov and llvm-profdata binaries of the clang-tools-static-binaries releases, unchanged, as wheels for LLVM 12 to 23 on Linux (glibc and musl), macOS and Windows, x86_64 and arm64. sources.json pins the SHA-512 of every file; the build refuses anything else. A daily workflow pins new LLVM releases and opens a pull request.
Bumps the actions group with 7 updates: | Package | From | To | | --- | --- | --- | | [actions/setup-python](https://github.com/actions/setup-python) | `7.0.0` | `7.1.0` | | [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `8.1.1` | `8.1.3` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `8.0.1` | `8.0.2` | | [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) | `1.14.2` | `1.14.3` | | [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) | `7.10.0` | `7.11.0` | | [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `10.3.0` | `10.4.0` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` | Updates `actions/setup-python` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@5fda3b9...6d4fd22) Updates `peter-evans/create-pull-request` from 8.1.1 to 8.1.3 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@5f6978f...3ffccac) Updates `actions/download-artifact` from 8.0.1 to 8.0.2 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@3e5f45b...9000827) Updates `pypa/gh-action-pypi-publish` from 1.14.2 to 1.14.3 - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](pypa/gh-action-pypi-publish@dc37677...7245906) Updates `release-drafter/release-drafter` from 7.10.0 to 7.11.0 - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](release-drafter/release-drafter@978bb0b...d1a19e6) Updates `astral-sh/setup-uv` from 10.3.0 to 10.4.0 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](astral-sh/setup-uv@1c37ad0...1db35dd) Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@043fb46...cf430e0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: peter-evans/create-pull-request dependency-version: 8.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: actions/download-artifact dependency-version: 8.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions - dependency-name: release-drafter/release-drafter dependency-version: 7.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: astral-sh/setup-uv dependency-version: 10.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[tool.wheels] extra-tests builds one version's wheel for the runner's platform and runs tests/smoke_test.py with more arguments after a setup command, e.g. llvm-cov with the clang of the same major version.
hatch_build.py gives way to the static-binaries recipe in pyproject.toml; the wheels are the same file for file (checked for linux-amd64, macos-arm64 and windows-arm64 of 23.1.6). The smoke test takes --bin like the others, and the coverage test with clang 18 becomes an extra test. The repository files go; the links point here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves llvm-cov from cpp-linter/llvm-cov-wheel into
packages/llvm-cov, with its history.git filter-repo --to-subdirectory-filter packages/llvm-cov, merged with--allow-unrelated-histories.hatch_build.pyis replaced by thestatic-binariesrecipe forllvm-covandllvm-profdata. The 23.1.6 wheels are the same file for file as the old ones (checked on linux-amd64, macos-arm64 and windows-arm64).[[tool.wheels.extra-tests]]setting. CI builds one version on one runner and runs the smoke test with more arguments. llvm-cov uses it for the full coverage workflow with clang 18 on Ubuntu 24.04. "All wheels pass" requires it.project.urlspoint here.Before merging
cpp-linter/wheels,publish.yml, environmentpypi(testpypi).23.1.6 is already on PyPI, so the merge releases nothing. The next LLVM update releases
llvm-cov-v<version>from here.Checked
pytest: 32 passed; ruff clean.Generated by Claude Code